package com.hly.common.constant;

/**
 * @author ldm
 * @create 2020-09-19 20:06
 */
public class CartConstant {
    public static final String TEMP_USER_COOKIE_NAME = "user-key"; // 离线购物车临时用户cookie名称
    public static final int TEMP_USER_COOKIE_TIMEOUT = 60 * 60 * 24 * 30; // 离线购物车临时用户cookie过期时间，三十天
    public static final String CART_PREFIX = "mall:cart:"; // 购物车数据保存到redis中key的前缀
}
